<?php include('php/bb.php'); ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  <meta http-equiv="content-type" content="text/html; charset=windows-1250">
  <meta name="generator" content="PSPad editor, www.pspad.com">
  <link rel="stylesheet" type="text/css" href="css/style.css">
  <link rel="stylesheet" type="text/css" href="css/redmond/jquery-ui-1.8.7.custom.css">
  <script type="text/javascript"  src="js/jquery-1.4.4.min.js"  LANGUAGE="JavaScript"></script>
  <script type="text/javascript"  src="js/jquery-ui-1.8.7.custom.min.js"  LANGUAGE="JavaScript"></script>
  <script type="text/javascript"  src="js/jquery.cookie.js"  LANGUAGE="JavaScript"></script>
  <script type="text/javascript"  src="js/app.js"  LANGUAGE="JavaScript"></script>
  <title>BS</title>
  </head>
  <body>
  	<div id="top">asd | asdasd | asdkjasd | aklsdj</div>
  	<div id="topdiv"></div>
    <div id="left" class="frame">
      <div class="head"><b>Tags</b></div>
      <div class="body">
      	<?php echo $bb->GetTags(); ?>
      </div>
      <br />
      <div class="head"><b>My Profile</b></div>
      <div class="body">
      	<?php echo $bb->GetLogin(); ?>
      </div>
    </div>
    <div id="center">
    	<?php
				// če je m prikaži message, če ni m ampak je t prikaži headerje za ta tag  
				if ($_GET["m"]) echo $bb->GetThread($_GET["m"]);
				else if ($_GET["t"]) echo $bb->GetHeaders($_GET["t"]); 
			?>
			<!--
      -->
    	<hr />
      <div id="message" class="frame">
        <div class="head">
          <h1>Lorem ipsum dolor sit amet consectetuer Sed Nam malesuada pulvinar In</h1>
          <div class="info">is a post nr. 274560231 by <b>Anonymous</b> on September 24th at 15:06:23</div>
        </div>
        <div class="body">
          <div class="image">
            <img src="http://image.24ur.com/media/images///360x240/Sep2010//60526571.jpg" />
          </div>
          <div class="text">
            Lorem ipsum dolor sit amet consectetuer Sed Nam malesuada pulvinar In. Ut et Morbi tellus interdum Lorem suscipit Vestibulum vel interdum Cras. Feugiat risus felis nunc justo pretium condimentum tincidunt elit Curabitur sed. Velit natoque velit cursus id Ut in fringilla malesuada nibh semper. Facilisis gravida nec et Sed fringilla Lorem sapien nulla et leo. Egestas amet.<br /><br />
            Condimentum Proin tincidunt et pretium semper tincidunt Nunc Quisque aliquam Nunc. Dui dignissim nascetur felis elit tincidunt sed id Mauris ac adipiscing. Vestibulum orci cursus urna orci condimentum vel diam et orci Maecenas. Malesuada neque augue at dapibus lacus pede iaculis nisl a lorem. Vitae penatibus metus nibh mus eros odio tincidunt dictum pretium.
          </div>
        </div>
        <div class="foot">
          <a href="#">Thumbz Up</a> (245)
          <a href="#">Thumbz Down</a> (44)
          <a href="#">Reply</a> (12)
          <a href="#">Share</a>
          <a href="#">Delete</a>
        </div>
      </div>
      <?php for ($i = 1; $i < 5; $i++) { ?>
      <div class="comment">
        <div class="frame">
          <div class="head">
            <div class="title">Re: Lorem ipsum dolor sit amet consectetuer Sed Nam malesuada pulvinar In</div>
            <div class="info">is a post nr. 274560231 by <b>Anonymous</b> on September 24th at 15:06:23</div>
          </div>
          <div class="body">
            <div class="image">
              <img src="http://image.24ur.com/media/images///360x240/Sep2010//60526571.jpg" />
            </div>
            <div class="text">
              Condimentum Proin tincidunt et pretium semper tincidunt Nunc Quisque aliquam Nunc. Dui dignissim nascetur felis elit tincidunt sed id Mauris ac adipiscing. Vestibulum orci cursus urna orci condimentum vel diam et orci Maecenas. Malesuada neque augue at dapibus lacus pede iaculis nisl a lorem. Vitae penatibus metus nibh mus eros odio tincidunt dictum pretium.
            </div>
          </div>
          <div class="foot">
            <a href="#">Thumbz Up</a> (245)
            <a href="#">Thumbz Down</a> (44)
            <a href="#">Reply</a> (12)
            <a href="#">Delete</a>
          </div>
        </div>
      </div>
      <?php } ?>
    </div>
  </body>
</html>
